<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=0,maximum-scale=1.0" />
    <script src="http://g.tbcdn.cn/mtb/lib-flexible/0.3.4/??flexible_css.js,flexible.js"></script>
    <link rel="stylesheet" type="text/css" href="css/reset.css"/>
    <link rel="stylesheet" type="text/css" href="css/style.css"/>
    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="js/public.js" type="text/javascript" charset="utf-8"></script>
    <title>邮寄地址</title>
</head>
<body>
	<div id="address">
		<div class="addHeader">
			<span class="back"></span>
			<span class="title">邮寄地址</span>
			<span class="addBtn" onclick="add()">新建</span>
		</div>
		<div class="addressCon">
			<a href="javascript:void(0);" class="addList">
				<div class="list">
					<span class="listName">杨阳</span>
				</div>
				<div class="list">
					<span class="listPhone">电话<i class="phone">15618960711</i></span>
					<span class="listZipcode">邮编<i class="zipCode">156189</i></span>
				</div>
				<div class="list">
					<span class="listAddress">地址<i class="address">上海市普陀区石泉路475号9楼</i></span>
				</div>
			</a>
			<a href="javascript:void(0);" class="addList">
				<div class="list">
					<span class="listName">杨阳</span>
				</div>
				<div class="list">
					<span class="listPhone">电话<i class="phone">15618960711</i></span>
					<span class="listZipcode">邮编<i class="zipCode">156189</i></span>
				</div>
				<div class="list">
					<span class="listAddress">地址<i class="address">上海市普陀区石泉路475号9楼</i></span>
				</div>
			</a>
		</div>
		<div class="addressNone">
			<img class="noneImg" src="images/image_shuju@2x.png"/>
			<span>您还未添加过邮寄地址哦~</span>
			<a href="newAddress.html" class="addAd"><img src="images/add@2x.png"/>新增地址</a>
		</div>
	</div>
<script type="text/javascript">
	//判断里面有没有数据
	var invoList=$('.addressCon').children().length
	if(invoList<=0){
		$('.addressCon').hide()
		$('.addressNone').show()
	}
	function add(){
		window.location.href='newAddress.html'
	}
	$(".back").click(function(){
		history.go(-1)
	})
</script>
</body>
</html>
